ShapeActionsCommand Constructor(Shape,Shape[],ResizeAnchor,Double,Double,Boolean,Boolean,Boolean)
In This Topic
Initializes a new instance of the
ShapeActionsCommand class for resizing action.
Syntax
'Declaration
Public Function New( _
ByVal As Shape, _
ByVal () As Shape, _
ByVal As ResizeAnchor, _
ByVal As Double, _
ByVal As Double, _
ByVal As Boolean, _
ByVal As Boolean, _
Optional ByVal As Boolean _
)
'Usage
Dim activeDrawingObject As Shape
Dim drawingObjects() As Shape
Dim resizeAnchor As ResizeAnchor
Dim horizontal As Double
Dim vertical As Double
Dim inflate As Boolean
Dim autolayout As Boolean
Dim flipHorizontal As Boolean
Dim instance As New ShapeActionsCommand(activeDrawingObject, drawingObjects, resizeAnchor, horizontal, vertical, inflate, autolayout, flipHorizontal)
public ShapeActionsCommand(
Shape ,
Shape[] ,
ResizeAnchor ,
double ,
double ,
bool ,
bool ,
bool
)
Parameters
- activeDrawingObject
- The drawing object which resize action starts with.
- drawingObjects
- The drawing objects to process.
- resizeAnchor
- A GrapeCity.Spreadsheet.Drawing.ResizeAnchor value indicates the resize direction.
- horizontal
- The horizontal resizing distance.
- vertical
- The vertical resizing distance.
- inflate
- A
bool
value indicates whether the resizing is from the center of drawing objects. - autolayout
- A
bool
value indicates whether the connection shape will be auto layout. - flipHorizontal
See Also